@echo off
setlocal
if [%1]==[] goto HELP
if [%1]==[--help] goto HELP
:: ****************************************************************************
:: Title :  find port                                                        
:: 
:: Usage :  the project name (dir)                                                    
:: 
:: Args  :  the project name (dir)            
:: 
:: E.g.  :                                                               
:: 
:: Notes :                                                               
:: 
:: Requires: 
:: 
:: Returns:  
:: 
:: Author:   Zollty Tsou                                                      *
:: Version:  1.0.0                                                            *
:: Date:     02/28/2018                                                       *
:: Link:     zollty@163.com                                                   *
:: ****************************************************************************

:: cd ../

:: cd ../hilo-pom
:: echo "==== starting to install hilo-pom ===="
:: call mvn clean install -Pjretty-release

cd ../hilo-framework
echo "==== starting to install hilo-base ===="
call mvn clean install -Pjretty-release -pl hilo-api,hilo-base,hilo-logback,hilo-third

cd ../hilo-component
echo "==== starting to install hilo-component ===="
call mvn clean install -Pjretty-release

cd ../hilo-framework
echo "==== starting to install hilo-framework ===="
call mvn clean install -Pjretty-release -rf hilo-core

:: cd ../hilo-admin-ui
:: echo "==== starting to install hilo-admin-ui ===="
:: call mvn clean install -Pjretty-release

cd ../hilo-admin
echo "==== starting to install hilo-admin ===="
call mvn clean install -Pjretty-release

goto EOF

:HELP
echo Usage: input the project name (dir)
echo.

:EOF
